home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.19990725-20000114
/
000438_news@columbia.edu _Tue Jan 11 10:24:23 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2000-01-13
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA05192
for <kermit.misc@watsun.cc.columbia.edu>; Tue, 11 Jan 2000 10:24:23 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA24582
for kermit.misc@watsun.cc.columbia.edu; Tue, 11 Jan 2000 09:54:39 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: Question on lockfiles...
Date: 11 Jan 2000 14:54:37 GMT
Organization: Columbia University
Message-ID: <85fg7d$o01$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <387AFA82.9797A1CE@lu.erisoft.se>,
Anders Faltros <Anders.Faltros@lu.erisoft.se> wrote:
: We are using kermit in a lab, and it sometimes happens that someone
: terminates kermit in some erroneous way and the lockfile in
: /var/spool/locks remains after the program terminated.
:
: We have no root access on the machines, so we can't just remove the
: lockfiles.
:
: Is there a way to tell kermit that other users should be able to remove
: lockfiles, or is this perhaps a unix-question? Solaris 2.6 is used, ang
: changing umask has no effect...
:
The Unix idea of using "lockfiles" to arbitrate access to serial
devices is just plain stupid.
Having said that :-) ... Any program that deals with lockfiles should know
how to handle stale ones. Kermit does. Just start Kermit again, give it
a "set line" command for the same device, and it will remove the stale
lockfile and create a new one. Then exit from Kermit and it will remove
the lockfile it just created.
cu, uucp, and all the others should behave exactly the same way.
See Appendix III of the manual and Sections 10 and 11 of the ckuins.txt
file for lots of details on this topic.
- Frank